﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace StringSearch
{
    abstract class Matcher
    {
		protected string[] _patterns;
		protected Dictionary<int, List<int>> _founds;
		public Dictionary<int, List<int>> Founds
		{
			get
			{
				return this._founds;
			}
		}
		public string[] Patterns
		{
			get
			{
				return this._patterns;
			}
		}
        public abstract void Search(string str);
    }
}
